#!/usr/bin/env node

const path = require('path');

//console.log(__dirname);
//console.log(__filename)
//const file = path.join(__dirname,'views','index.html');  
const file = __dirname + '/views/index.html';
//const file = '/home/wangding/prj/nodejs-demo/02-global-var/views/index.html';

console.log(file);
